package com.chinasoft.mapper;

import com.chinasoft.pojo.ElectronicsSales;
import org.apache.ibatis.annotations.Insert;

public interface ElectronicsSalesMapper {

    @Insert("INSERT INTO electronics_sales " +
            "(event_time, order_id, product_id, category_id, category_code, brand, price, user_id, age, sex, local) " +
            "VALUES " +
            "(#{eventTime}, #{orderId}, #{productId}, #{categoryId}, #{categoryCode}, #{brand}, #{price}, #{userId}, #{age}, #{sex}, #{local})")
    int insert(ElectronicsSales electronicsSales);
}
